package SV_SESSION_FIXATION_COOKIE;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.*;
import java.io.IOException;

public class Fixed {
    public class Test {

        protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
            SecureRandom secureRandom = SecureRandom.getInstance("NativePRNG");
            long value = secureRandom.nextLong();
            Cookie cookie = new Cookie("jsessionid", value);
        }
    }
}
